package ihis.model;

import java.io.Serializable;

/**
 * 
 * Project에 속한 담당자 정보 
 * @author yoni230
 *
 */
public class Member  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3287957462139402464L;
	private String id;
	private String firstName;
	private String lastName;
	private String role;
	
	public Member(String id, String firstName, String lastName)
	{
		this.id = id;
		this.firstName = firstName;
		this.lastName = lastName;
	}
	
	public String getId()
	{
		return id;
	}
	
	public String getFirstName()
	{
		return firstName;
	}
	
	public String getLastName()
	{
		return lastName;
	}
	
	public String toString(){
		return lastName + " " + firstName;
	}

	/**
	 * @return the role
	 */
	public String getRole() {
		return role;
	}

	/**
	 * @param role the role to set
	 */
	public void setRole(String role) {
		this.role = role;
	}
	
	public String getName() {
		return this.lastName + this.firstName;
	}
}
